lldp receive

Enables global or interface LLDP packet receive mode.

Syntax

lldp receive
no lldp receive

Parameters

receive
Specifies the global or interface LLDP packet receive mode (true or false). Default mode is true.

Modes

Config mode

Interface config mode

Usage Guidelines

The no lldp receive command sets the LLDP receive mode to false.

Examples

The following example configures global LLDP packet receive mode.

device# configure terminal 
device(config)# lldp receive 

device# show running-configuration 
lldp receive 

The following example configures LLDP packet receive mode on the interface.

device# configure terminal 
device(config)# interface ethernet 1/1 
device(config-if)# lldp receive

device# show running-configuration 
interface ethernet 1/1 
lldp receive